import request from '@/utils/request'

export default {
    //查询前8条热门课程
  getIndexCourse() {
    return request({
      url: '/eduservice/bannerfrout/index',
      method: 'get'
    })
  },
  //查询前4个名师
  getIndexTeacher() {
    return request({
      url: '/eduservice/bannerfrout/indexTeacher',
      method: 'get'
    })
  }
}
